home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / windows / wdj1096.zip / ESPOSITO.ZIP / W16EXT.H < prev    next >
Text File  |  1996-07-25  |  1KB  |  37 lines

  1. /* window styles */
  2. #define WS_EX_TOOLWINDOW        0x00000080L
  3. #define WS_EX_WINDOWEDGE        0x00000100L
  4. #define WS_EX_CLIENTEDGE        0x00000200L
  5. #define WS_EX_CONTEXTHELP       0x00000400L
  6.  
  7. #define WS_EX_OVERLAPPEDWINDOW  \
  8.     (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
  9. #define WS_EX_PALETTEWINDOW     \
  10.     (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)
  11.  
  12. /* dialog styles */
  13. #define DS_3DLOOK               0x0004L
  14. #define DS_CONTEXTHELP          0x2000L
  15.  
  16.  
  17. /* messages */
  18. #define WM_HELP                 0x0053
  19. #define WM_CONTEXTMENU          0x007B
  20. #define WM_DISPLAYCHANGE        0x007E
  21. #define WM_DEVICECHANGE         0x0219
  22.  
  23. /* system commands */
  24. #define SC_CONTEXTHELP          0xF180
  25.  
  26. /* Structure pointed to by lParam of WM_HELP */
  27. typedef struct tagHELPINFO
  28. {
  29.     UINT    cbSize;     /* Size in bytes of this struct  */
  30.     int     iContextType;/* HELPINFO_WINDOW or HELPINFO_MENUITEM */
  31.     int     iCtrlId;    /* Control Id or a Menu item Id. */
  32.     HANDLE  hItemHandle;/* hWnd of control or hMenu.     */
  33.     DWORD   dwContextId;/* Context Id associated with this item */
  34.     POINT   MousePos;   /* Mouse Position in screen co-ordinates */
  35. }  HELPINFO, FAR *LPHELPINFO;
  36.  
  37.